﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Batmobile : Carcs,Fly
    {
        public Batmobile(string carname) : base(carname)
        {
            this.carname = carname;
  
        }

        public void flly()
        {
            Console.WriteLine("会飞的车车",this.carname);
        }

        public override void tell()
        {
            Console.WriteLine("我是蝙蝠侠，我的车子是{0}",this.carname);
        }
    }
}
